package app

import (
	"github.com/gorilla/mux"
	"net/http"
)

func router() http.Handler {
	router := mux.NewRouter()
	router.HandleFunc("/api", ApiHandler)
	router.HandleFunc("/{all}", HomeHandler)

	return router
}
